package com.elm.deliveryaddress.service;

import com.elm.deliveryaddress.pojo.DeliveryAddress;

import java.util.List;

public interface DeliveryAddressService {

    List<DeliveryAddress> listDeliveryAddressByUserId(String userId);

    DeliveryAddress getDeliveryAddressById(Integer daId);

    Integer saveDeliveryAddress(DeliveryAddress deliveryAddress
    );

    Integer updateDeliveryAddress(DeliveryAddress deliveryAddress);

    Integer removeDeliveryAddress(Integer daId);
}
